package com.tianya.common.model;

import java.util.Date;

/**
 * User entity.
 * 
 * @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class Code implements java.io.Serializable {

	// Fields
	private String code;
	private String id;
	private String name;
	private String name2;
	private Integer flag;
	private String name3;
	private Integer  ord;
	private Integer opid;
	private Date upymd;//更新时间
	private String lang;
	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public Integer getOrd()
	{
		return this.ord;
	}
	
	public String getName3() {
		return name3;
	}
	public void setName3(String name3) {
		this.name3 = name3;
	}

	// Constructors
	/** default constructor */
	public Code() {
	}
	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the name2
	 */
	public String getName2() {
		return name2;
	}
	
	/**
	 * @return the flag
	 */
	public Integer getFlag() {
		return flag;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param name2 the name2 to set
	 */
	public void setName2(String name2) {
		this.name2 = name2;
	}
	
	/**
	 * @param isdelflg the flag to set
	 */
	public void setFlag(Integer Flag) {
		this.flag = Flag;
	}
	
	public void setOrd(int ord)
	{
		this.ord = ord;
	}

	public Integer getOpid() {
		return opid;
	}

	public void setOpid(Integer opid) {
		this.opid = opid;
	}

	public Date getUpymd() {
		return upymd;
	}

	public void setUpymd(Date upymd) {
		this.upymd = upymd;
	}

	public void setOrd(Integer ord) {
		this.ord = ord;
	}
	
	
}